<template>
  <div style="text-align: center; width: 680px; margin: auto; background: #fff">
    <table
        cellpadding="0"
        cellspacing="0"
        style="
        table-layout: fixed;
        position: relative;
        width: 100%;
        font-family: 仿宋_GB2312;
        font-size: 16px;
        margin: auto;
      "
    >
      <tr style="height: 10px">
        <td
            v-for="item in 100"
            :key="item"
            style="width: 1%; text-align: center"
        />
      </tr>
      <tr style="height: 60px">
        <td colspan="100" style="text-align: center">
          <span id="Lab_title" style="font-size: 24px; font-weight: bold"
          >水利工程质量检测单位乙级资质认定（注销申请）</span
          >
        </td>
      </tr>
      <tr style="height: 50px">
        <td colspan="23" class="TableBorderOther">单位名称</td>
        <td colspan="30" class="TableBorderOther">
          {{formData.czzt}}
        </td>
        <td colspan="23" class="TableBorderOther">联系电话</td>
        <td colspan="30" class="TableBorderRight">
          {{formData.conNum}}
        </td>
      </tr>
      <tr style="height: 70px">
        <td colspan="23" class="TableBorderOther">
          统一社会信用代码<br />(工商营业执照注册号、<br />事业法人登记号)
        </td>
        <td colspan="80" class="TableBorderRight">
          {{formData.czztdm}}
        </td>
      </tr>
      <tr style="height: 50px">
        <td colspan="23" class="TableBorderOther">注销专业</td>
        <td colspan="30" class="TableBorderOther">
          <MultiSelect
              v-model="formData.certMajor"
              :options="majorOptions"
              :disabled="true"
          />
        </td>
        <td colspan="23" class="TableBorderOther">证书编号</td>
        <td colspan="30" class="TableBorderRight">
          {{formData.certNumCode}}
        </td>
      </tr>
      <tr style="height: 50px">
        <td colspan="23" class="TableBorderBottom">注销原因</td>
        <td colspan="80" class="TableBorderRightBottom">
          {{formData.canReason}}
        </td>
      </tr>
    </table>
  </div>
</template>

<script>
import businessApi from '@/api/business';
import MultiSelect from "@/components/Select/MultiSelect";
export default {
  name: "Word4",
  components: {
    MultiSelect
  },
  props: {
    formData: {
      type: Object,
      default: () => ({})
    }
  },
  data() {
    return {
    };
  },
  computed: {
    majorOptions() {
      return businessApi.getApplyMajors(this.$dict('major').list(), true, true);
    },
  },
}
</script>

<style lang="scss" scoped>
@import '../../../../../../assets/styles/word.scss';

</style>
